package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 优惠券领取 对象 db_envelope
 * 
 * @author ruoyi
 * @date 2025-06-08
 */
public class DbEnvelope extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 名称 */
    @Excel(name = "名称")
    private String envelopeName;

    /** 有效期 */
    @Excel(name = "有效期")
    private String period;

    /** 说明 */
    private String explain;

    /** 使用条件金额 */
    @Excel(name = "使用条件金额")
    private String conditionPrice;

    /** 满减金额 */
    @Excel(name = "满减金额")
    private String fullPrice;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 备用1 */
    private String standby1;

    /** 备用2 */
    private String standby2;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setEnvelopeName(String envelopeName) 
    {
        this.envelopeName = envelopeName;
    }

    public String getEnvelopeName() 
    {
        return envelopeName;
    }

    public void setPeriod(String period) 
    {
        this.period = period;
    }

    public String getPeriod() 
    {
        return period;
    }

    public void setExplain(String explain) 
    {
        this.explain = explain;
    }

    public String getExplain() 
    {
        return explain;
    }

    public void setConditionPrice(String conditionPrice) 
    {
        this.conditionPrice = conditionPrice;
    }

    public String getConditionPrice() 
    {
        return conditionPrice;
    }

    public void setFullPrice(String fullPrice) 
    {
        this.fullPrice = fullPrice;
    }

    public String getFullPrice() 
    {
        return fullPrice;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public void setStandby1(String standby1) 
    {
        this.standby1 = standby1;
    }

    public String getStandby1() 
    {
        return standby1;
    }

    public void setStandby2(String standby2) 
    {
        this.standby2 = standby2;
    }

    public String getStandby2() 
    {
        return standby2;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("envelopeName", getEnvelopeName())
            .append("period", getPeriod())
            .append("explain", getExplain())
            .append("conditionPrice", getConditionPrice())
            .append("fullPrice", getFullPrice())
            .append("status", getStatus())
            .append("standby1", getStandby1())
            .append("standby2", getStandby2())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
